package com.pkk.alert.entity.feige;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(value="com.pkk.alert.entity.feige.FeigeAccount")
@Data
@TableName(value = "feige_account")
public class FeigeAccount implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="null")
    private Long id;

    /**
     * 账号名称
     */
    @TableField(value = "account_name")
    @ApiModelProperty(value="账号名称")
    private String accountName;

    /**
     * 系统分配给您的密钥，在用户中心查看
     */
    @TableField(value = "secret")
    @ApiModelProperty(value="系统分配给您的密钥，在用户中心查看")
    private String secret;

    /**
     * app_key，可以群组详情里查看
     */
    @TableField(value = "app_key")
    @ApiModelProperty(value="app_key，可以群组详情里查看")
    private String appKey;

    /**
     * 是否启用(1:启用,0:废弃)
     */
    @TableField(value = "statis")
    @ApiModelProperty(value="是否启用(1:启用,0:废弃)")
    private Boolean statis;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public static final String COL_ACCOUNT_NAME = "account_name";

    public static final String COL_SECRET = "secret";

    public static final String COL_APP_KEY = "app_key";

    public static final String COL_STATIS = "statis";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";
}